package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.NursingLevelDto;
import com.zzyl.vo.NursingLevelVo;

import java.util.List;

public interface NursingLevelService {
    List<NursingLevelVo> listAll();

    void addNursingLevel(NursingLevelDto nursingLevelDto);

    PageResponse selectByPage(String name, Integer status, Integer pageNum, Integer pageSize);

    /**
     * 根据id查询
     */
    public NursingLevelVo findById(Long id);

    /**
     * 修改护理等级
     */
    void update(NursingLevelDto nursingLevelDto);

    /**
     * 删除护理等级
     */
    void deleteById(Long id);

    /**
     * 启用或禁用
     */
    void isEnable(Long id, Integer status);
}
